<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<div style="margin:0px 0px 16px 0px">
	<div style="margin:0px 0px 0px 0px">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
  			<tr>
			    <td width="9"><img src="images/left/grey-header-left.jpg" width="9" height="41" /></td>
			    <td align="left" class="grey-header-bg"><div class="white-header-text"><s:text name="categories" /> : <span class="black-header-text"><s:property value="{#session.categoryHeader}" /></span></div></td>
			    <td width="9"><img src="images/left/grey-header-right.jpg" width="9" height="41" /></td>
  			</tr>
		</table>
	</div>
	<div style="margin:0px 5px 0px 5px">
	    <table width="100%" border="0" cellspacing="0" cellpadding="0">
	    	<tr>
	        	<td rowspan="2" valign="top"><div style="margin:10px 0px 0px 0px">
					<s:set name="totalCat" value="#attr.generalCategoriesLeft.size" var="totalCat" />
					<s:iterator status="rawStatus" value="#attr.generalCategoriesLeft" var="generalCategory">
	                      <div><a href="subCategories.htm?cid=<s:property value="%{#generalCategory.categoryId}" />" class="categories-arrow-text" ><s:property value="%{#generalCategory.categoryName}" /> (<s:property value="%{#rawStatus.index}" />)</a></div>
	                	<s:if test="%{#rawStatus.index != #totalCat - 1}">
	                      <div class="categories-separator-bg" style="margin:7px 0px 7px 0px"><img src="images/framework/blank.gif" alt=" " /></div>
	                    </s:if>
	                </s:iterator>
				</div></td>
	            <td width="11" valign="top" class="left-bg"><div style="margin:0px 0px 0px 0px"><img src="images/left/left-grey-top-bg.jpg" alt=" " width="11" height="170" /></div></td>
			</tr>
	        <tr>
	        	<td valign="bottom" class="left-bg"><div style="margin:0px 0px 0px 0px"><img src="images/left/left-grey-bottom-bg.jpg" alt=" " width="11" height="121" /></div></td>
			</tr>
		</table>
	</div>
</div>
